{extend name="./public/base"/}
{block name="alt"}评论列表{/block}
{block name="alter"}评论列表{/block}
{block name="title"}BangBang视频评论列表{/block}
{block name="main"}

			<div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-block">
                                <div class="card-body">
                                        <table class="table table-striped  mt-3">
                                            <thead>
                                                <tr>
                                                    <th scope="col"><p class="text-center">状态</p></th>
                                                    <th scope="col"><p class="text-center">序号</p></th>
                                                   
                                                    <th scope="col"><p class="text-center">购买用户</p></th>
                                                    <th scope="col"><p class="text-center">购买视频</p></th>
                                                    <th scope="col"><p class="text-center">购买时间</p></th>
                        
                                                    <th scope="col"><p class="text-center">操作</p></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                {volist name="orders" id="order" key="k"}
                                                <tr>
                                                    <td>
                                                        {if condition="$order.ostatus==0"}<p class="text-center text-success">正常</p>
                                                        {else/}<p class="text-center text-danger">封禁</p>
                                                        {/if}
                                                    </td>
                                                    <td><p class="text-center">{$k+($page-1)*10}</p></td>
                                                
                                                    <td><p class="text-center">{$order.uname}</p></td>
                                                    
                                                    <td><p class="text-center">{$order.videoname}</p></td>
                                                    
                                                    <td><p class="text-center">{$order.ordertime}</p></td>
                                                     
                                                   
                                                    <td class="text-center">
                                                        <a class="text-danger" href="{:url('shield',['id'=>$order.orderid])}"><i class="icon-ban"></i> 解除/封禁</a><br>
                                                       
                                                    </td>
                                              
                                                </tr>
                                                {/volist}
                                                
                                                
                                            </tbody>
                                        </table>
                                         {$orders->render()}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

{/block}